package com.wilmer.schedule.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.wilmer.common.annotation.Excel;
import com.wilmer.common.core.domain.BaseEntity;

/**
 * 课程管理对象 yw_class_schedule
 * 
 * @author zl
 * @date 2024-04-10
 */
public class YwClassSchedule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long courseId;

    /** 课程名称 */
    @Excel(name = "课程名称")
    private String courseName;

    /** 课程代码 */
    @Excel(name = "课程代码")
    private String courseCode;

    /** 学分  */
    @Excel(name = "学分 ")
    private Long credits;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 教师ID */
    @Excel(name = "教师ID")
    private Long teacherId;

    /** 上课时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "上课时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date classTime;

    /** 上课地点 */
    @Excel(name = "上课地点")
    private String classLocation;

    /** 开课学期 */
    @Excel(name = "开课学期")
    private String semester;

    /** 课程描述 */
    @Excel(name = "课程描述")
    private String courseDescription;

    /** 课程容量(人数) */
    @Excel(name = "课程容量(人数)")
    private Long courseCapacity;

    /** 课程类型 */
    @Excel(name = "课程类型")
    private String courseType;

    /** 课程状态 */
    @Excel(name = "课程状态")
    private String courseStatus;

    public void setCourseId(Long courseId) 
    {
        this.courseId = courseId;
    }

    public Long getCourseId() 
    {
        return courseId;
    }
    public void setCourseName(String courseName) 
    {
        this.courseName = courseName;
    }

    public String getCourseName() 
    {
        return courseName;
    }
    public void setCourseCode(String courseCode) 
    {
        this.courseCode = courseCode;
    }

    public String getCourseCode() 
    {
        return courseCode;
    }
    public void setCredits(Long credits) 
    {
        this.credits = credits;
    }

    public Long getCredits() 
    {
        return credits;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setTeacherId(Long teacherId) 
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() 
    {
        return teacherId;
    }
    public void setClassTime(Date classTime) 
    {
        this.classTime = classTime;
    }

    public Date getClassTime() 
    {
        return classTime;
    }
    public void setClassLocation(String classLocation) 
    {
        this.classLocation = classLocation;
    }

    public String getClassLocation() 
    {
        return classLocation;
    }
    public void setSemester(String semester) 
    {
        this.semester = semester;
    }

    public String getSemester() 
    {
        return semester;
    }
    public void setCourseDescription(String courseDescription) 
    {
        this.courseDescription = courseDescription;
    }

    public String getCourseDescription() 
    {
        return courseDescription;
    }
    public void setCourseCapacity(Long courseCapacity) 
    {
        this.courseCapacity = courseCapacity;
    }

    public Long getCourseCapacity() 
    {
        return courseCapacity;
    }
    public void setCourseType(String courseType) 
    {
        this.courseType = courseType;
    }

    public String getCourseType() 
    {
        return courseType;
    }
    public void setCourseStatus(String courseStatus) 
    {
        this.courseStatus = courseStatus;
    }

    public String getCourseStatus() 
    {
        return courseStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("courseId", getCourseId())
            .append("courseName", getCourseName())
            .append("courseCode", getCourseCode())
            .append("credits", getCredits())
            .append("deptId", getDeptId())
            .append("teacherId", getTeacherId())
            .append("classTime", getClassTime())
            .append("classLocation", getClassLocation())
            .append("semester", getSemester())
            .append("courseDescription", getCourseDescription())
            .append("courseCapacity", getCourseCapacity())
            .append("courseType", getCourseType())
            .append("courseStatus", getCourseStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
